package com.shine.ws.server.service.impl;

import com.shine.ws.service.IMessageService;
import javax.jws.WebService;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @CreateTime: 2023/7/16 21:22
 * @Version:
 * @Since: 1.8
 * @Author: Forward Seen
 */
@WebService(name = "MessageService",
    targetNamespace = "http://service.server.ws.shine.com/",//与包名相反
    endpointInterface = "com.shine.ws.service.IMessageService"//接口的名称
)
@Service
public class MessageServiceImpl implements IMessageService {
    @Override public String echo(String msg) {
        System.out.println("【ECHO】" + msg);
        return "【ECHO】" + msg;
    }
}